<template>
  <div @click="feedbackInfo()" id="dialog">
    <el-tooltip placement="top">
      <div slot="content">意见反馈</div>
      <div class="icon-item">
        <svg-icon icon-class="message" class-name="disabled" />
      </div>
    </el-tooltip>
    <!-- <el-drawer
      title="意见反馈"
      :visible.sync="drawer"
      :append-to-body="true"
      :direction="direction"
      custom-class="bg"
      >
      <img src="../../assets/feedback.png" class="drawerImage">
      <div class="content">
        如有意见反馈，请发送邮箱至:<br/>duanyin0817@thundersoft.com
      </div>
    </el-drawer> --> 
  </div>
</template>

<script>
import FeedBack from './feedback'

export default {
  name: 'Feedback',
  components: {
    FeedBack
  },
  data() {
    return {
      
    }
  },
  computed: {
    errorLogs() {
    }
  },
  methods: {
    feedbackInfo() {
      this.$router.push({
        path: '/feedback'
      })
    }
  }
}
</script>

<style lang="scss" scoped>
$bg: '../../assets/feedback.png';
/deep/ .el-drawer{
  background: #f3f5f7;
}
.message-title {
  font-size: 16px;
  color: #333;
  font-weight: bold;
  padding-right: 8px;
}
.drawerImage{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  -webkit-filter:blur(3px);
  filter:blur(3px);
  transition: all .8s;
}
.content{
  width: 100%;
  font-size: 25px;
  position: absolute;
  left: 50%;
  top: 50%;
  text-align: center;
  line-height: 30px;
  z-index: 3;
  transition: all .5s;
  color: rgba(80,51,45,.8);
  font-family: "Helvetica Neue";
  transform: translateX(-50%) translateY(-50%);
}
.content:hover{
  color: rgba(80,50,40,.9);
}
.drawerImage:hover{
  -webkit-filter:blur(0px);
  filter:blur(0px);
}

</style>
